New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add sbix fallback twemoji font (and bump to emoji 12) #3050
Conversation
EDIT: fixed by matrix-org/twemoji-colr@1645460 From a quick visual inspection, it's now in sync with COLR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm overall
@@ -114,7 +114,13 @@ export async function fixupColorFonts() { | |||
// weights for the emoji to appear in bold messages, etc. | |||
document.fonts.add(new FontFace("Twemoji", path, { weight: 600 })); | |||
document.fonts.add(new FontFace("Twemoji", path, { weight: 700 })); | |||
} else { | |||
// fall back to SBIX, generated via https://github.com/matrix-org/twemoji-colr/tree/matthew/sbix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's very unfortunate that we're not able to use upstream for this. I have many fears about us forgetting to upgrade, or falling behind, or otherwise not maintaining our fork very well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, but i see no alternative sadly.
should fix element-hq/element-web#9891 and element-hq/element-web#9900